package com.tanjie.blackbean.system.admin.model.user;

import com.tanjie.blackbean.pojo.system.UserType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author tanjie
 * @since 2022-04-20
 */
@Data
@Schema(name = "SysUserVO对象", description = "用户表")
public class UserVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键")
    private String id;

    @Schema(description = "登录用户名")
    private String username;

    @Schema(description = "组织id")
    private String orgId;

    @Schema(description = "组织机构组织名称")
    private String orgName;

    @Schema(description = "用户类型：1：sys（后台系统）")
    private UserType userType;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "真实姓名")
    private String realName;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "状态: 1-正常")
    private Integer status;

    @Schema(description = "角色id字符串数组")
    private List<String> roleIds;

}
